## Script (Python) "amazonSample"
##title=Create "amazon" sample
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=

NODE_LIST = '''
5 69765 Home & Office
69765 549678 Access, FileMaker & More
549678 4089 Access
4089 502240 Casual Users
4089 502244 Intermediate
4089 502236 Advanced
4089 502238 General (Access)
4089 502242 Featured Titles
549678 506944 Seagate Crystal Reports
549678 4090 Visual FoxPro
69765 549684 Handhelds
549684 506958 PalmPilot
506958 506964 Casual Users
506958 506966 Intermediate
506958 506962 Advanced
506958 506960 General (PalmPilot)
506958 506968 Featured Titles
549684 506970 Pocket PCs
506970 506976 Casual Users
506970 506978 Intermediate
506970 506974 Advanced
506970 506972 General (Pocket PCs)
506970 506980 Featured Titles
549684 3869 Windows CE
69765 69766 Internet
69766 3577 Complete Idiot's Guide: Internet
69766 69767 E-commerce
69766 4164 E-mail
69766 3578 For Dummies: Internet
69766 4109 Get Connected
69766 4110 Internet & Education
69766 4111 Internet Newcomer
69766 266095 Internet for Seniors
69766 4108 Kids and the Net
69766 69770 Learning HTML & Web Design
69766 69768 Networking
69766 4112 Online Reference
69766 69771 Online Searching
69766 69769 Web Browsers
69766 4116 Web Guides
69766 4117 Web for Kids
69766 4118 Web-Based Education
69765 549656 Macintosh
549656 549698 Databases
549656 549692 Desktop Publishing
549656 549690 Graphics, Animation & Illustration
549656 549688 Personal Finance
549656 549700 Scheduling & E-mail
549656 549696 Spreadsheets
549656 549702 Web Browsers
549656 549694 Web Publishing
69765 549686 Project Management
549686 4063 PowerPoint
4063 502310 Casual Users
4063 502314 Intermediate
4063 502306 Advanced
4063 502308 General (PowerPoint)
4063 502312 Featured Titles
549686 4064 Project
4064 502320 Casual Users
4064 502324 Intermediate
4064 502316 Advanced
4064 502318 General (Project)
4064 502322 Featured Titles
69765 549680 Scheduling & E-mail
549680 172404 Act!
172404 502260 Casual Users
172404 502264 Intermediate
172404 502256 Advanced
172404 502258 General (Act!)
172404 502262 Featured Titles
549680 3590 Lotus Notes
3590 502270 Casual Users
3590 502274 Intermediate
3590 502266 Advanced
3590 502268 General (Lotus Notes)
3590 502272 Featured Titles
549680 4167 Outlook
4167 502280 Casual Users
4167 502284 Intermediate
4167 502276 Advanced
4167 502278 General (Outlook)
4167 502282 Featured Titles
69765 549676 Spreadsheets
549676 4179 Excel
4179 506924 Casual User
4179 506926 Intermediate
4179 506928 Advanced
4179 506930 Featured Titles
4179 506922 General (Excel)
549676 173213 Excel 2000
173213 173217 Development & Administration
173213 173215 For Beginners
69765 549682 Web Browsers
549682 3551 Internet Explorer
3551 502304 Intermediate
3551 502296 Advanced
3551 502298 General (Internet Explorer)
3551 502302 Featured Titles
3551 574620 Casual Users
549682 3552 Netscape
3552 502290 Casual Users
3552 502294 Intermediate
3552 502286 Advanced
3552 502288 General (Netscape)
3552 502292 Featured Titles
69765 549658 Windows
549658 549708 Accounting
549658 549718 Databases
549658 549712 Desktop Publishing
549658 549710 Graphics, Animation & Illustration
549658 549706 Personal Finance
549658 549720 Scheduling & E-mail
549658 549716 Spreadsheets
549658 549722 Web Browsers
549658 549714 Web Publishing
549658 549704 Windows OS
549704 69776 Windows 98
549658 549724 Word Processing
69765 549662 Word, Excel & More
549662 549668 Graphics, Animation & Illustration
549668 549670 Desktop Publishing
549668 173232 PhotoDraw 2000
549668 549672 Web Publishing
549662 549674 Office Suites
549662 549666 Personal Finance
549666 69763 Peachtree
549666 69761 Quickbooks
549662 4192 Word
549662 549664 Word Processing
5 15377001 Apple
15377001 4085 FileMaker
15377001 15377011 Final Cut
15377001 69773 Hardware
15377001 15375311 iPods
15377001 15375321 iTunes
15377001 15377021 Logic Pro & Logic Express
15377001 3759 MacOS
15377001 4191 MacWrite
15377001 266094 Quicktime
15377001 15377031 WebObjects
5 549726 Business & Culture
549726 3568 Biographies
549726 3567 Careers
549726 3693 Computer Glossaries
549726 886498 Computer Industry
549726 3639 Culture
549726 3570 Digital Law
549726 886500 E-commerce
549726 15376991 eBay
549726 15375271 File Sharing
549726 3571 Future of Computing
549726 3640 Government
549726 3648 Hacking
549726 3573 History
549726 3638 Humor
549726 3700 Manager's Guides to Computing
549726 3641 Privacy
549726 3997 Project Management
3997 3998 Ergonomics
3997 3890 Expert Systems
3997 4000 Localization
3997 4001 Outsourcing
3997 4002 Reengineering
3997 4003 Security
3997 4015 Software Design
3997 4016 Software Development
3997 4017 Software Project Management
3997 4018 Software Reuse
3997 4008 Statistical Computing
3997 4074 Workflow
3997 4010 Year 2000 Problem
549726 15375261 Security
549726 3702 Technical Support
549726 4071 Telecommuting
549726 3563 Web Marketing
549726 15375281 Weblogs
5 3448 Certification Central
3448 3449 Exams
3449 3450 A+
3449 923638 CCA
3449 923648 CCDA
3449 193978 CCIE
3449 193977 CCNA
3449 554540 CCNP
3449 923632 CCSA
3449 923630 CIW
3449 3452 CNA
3449 3453 CNE
3449 923650 ColdFusion
3449 923646 DB2
3449 923640 IT Project+
3449 3454 Java
3449 285860 Linux
3449 3455 MCSD
3449 3456 MCSE
3449 193979 Network+
3449 3458 Office User Specialist
3449 923624 Oracle9i
3449 923628 PMP
3449 923634 Solaris
3449 923626 i-Net+
3448 407484 General (Certification Central)
3448 3459 Publisher
3459 193980 Cisco
3459 3460 Coriolis
3459 3461 Course Technology
3459 3463 IDG Books Worldwide
3459 3465 McGraw Hill
3459 3466 Microsoft Press
3459 3467 New Riders
3459 3469 Onword Press
3459 3470 Osborne-McGraw-Hill
3459 3471 Peanut Butter Publishers
3459 3472 Prentice Hall
3459 3473 Que
3459 3474 Sams
3459 3475 Southwestern
3459 3477 Sybex
3459 3478 Waite
3448 3480 Subjects
3480 3481 A+
3480 3482 Access
3480 3483 Autocad
3480 3484 Excel
3480 3485 Exchange Server
3480 3486 Internet Information Server
3480 3487 Java
3480 3488 MS SQL Server
3480 3489 MS Word
3480 3490 MS core subjects
3480 3491 NT Server
3480 3492 NT Workstation
3480 3493 Networking
3480 3494 Networking Essentials
3480 3495 Notes
3480 3496 Novell
3480 3497 Office
3480 3498 PowerPoint
3480 3499 Proxy Server
3480 3500 System Management Server
3480 3501 TCP-IP
3480 3502 Visual Basic
3480 3503 Visual C++
3480 3504 Webmaster
3480 3505 Windows 95
3480 3506 Windows 98
3480 3507 Windows Architecture
5 3508 Computer Science
3508 3870 Algorithms
3870 3889 Artificial Life
3870 3954 Assembly Language Programming
3870 3957 C & C++
3870 3874 Compression
3870 3875 Cryptography
3870 3632 Encryption
3870 3877 Fractals
3870 3878 Fuzzy Logic
3870 3879 General (Algorithms)
3870 3880 Genetic
3870 3894 Machine Learning
3870 3882 Memory Management
3870 4014 Performance Optimization
3870 3937 Rendering & Ray Tracing
3870 4019 Structured Design
3508 3887 Artificial Intelligence
3887 4024 Agents
3887 280288 Analogies
3887 280289 Applications
3887 280290 Cognitive Simulation
3887 280293 Computer Mathematics
3887 280294 Experimentation
3887 3891 General (Artificial Intelligence)
3887 280295 Heuristic & Constrained Search
3887 280291 Human Vision & Language Systems
3887 3981 Lisp
3887 3895 Machine Vision
3887 3896 Neural Networks
3887 3897 Robotics
3887 280292 Theory of Computing
3508 280296 Circuitry
280296 280297 Analog Electronics
280296 280301 Circuit Components
280296 280298 Circuit Design
280296 280302 Circuit Manufacturing
280296 280307 Communication & Signal Processing
280296 280308 Electrodynamics
280296 280305 Electromagnetics
280296 280299 Electron Devices
280296 280303 Lasers
280296 280300 Microelectronic Devices
280296 280304 Optoelectronics
280296 280306 Solid State Circuits
3508 4011 Software Design
4011 4013 Object-Oriented Design
4011 4132 Robohelp
4011 4133 Testing
4011 4020 UML
3508 280309 Software Engineering
280309 280310 Design Tools & Techniques
280309 280311 Information Systems
280309 280312 Methodology
280309 280313 Multimedia Information Systems
3508 602672 Systems Analysis & Design
5 549646 Databases
549646 3653 Data Storage & Management
3653 3654 Data Mining
3653 3655 Data Warehousing
3653 3656 Distributed Computing
3653 3659 File Formats
3653 3685 SAP R3
3653 3836 Storage
549646 3902 Database Design
549646 4084 Database Management Systems
549646 3657 Distributed Databases
549646 657764 General (Databases)
549646 3910 Multimedia
549646 3802 Object Databases
549646 4092 Oracle
4092 588484 Applications
4092 588486 Certification
4092 588472 Databases
588472 588478 8
588472 588476 8i
588472 588480 DBA
588472 588482 PL & SQL
4092 588488 Developer Tools
588488 588492 Designer
588488 588490 Developer
588488 588498 Discoverer
588488 588496 Forms & Reports
4092 588470 General (Oracle)
4092 1121302 Oracle Technical Network
4092 588500 Technologies
588500 588502 JAVA
588500 588508 PL & SQL
588500 588506 SQL
588500 588510 SQLJ
588500 588504 XML
549646 3789 Relational Databases
3789 3796 IBM DB2
3789 3797 Informix
3789 3798 Ingres
549646 3804 SQL
3804 3805 General (SQL)
3804 3806 Server - Microsoft
3804 3807 Sybase
549646 549648 Specific Databases
549648 588494 JDeveloper
549648 285854 MySQL & mSQL
549648 3913 PowerBuilder
549648 3915 dBASE
5 15375291 Digital Music & Computer Audio
15375291 15375301 Audio & Video Editing
15375291 15375351 General (Digital Music & Computer Audio)
15375291 295231 MP3
15375291 15375341 Pro Tools
15375291 15375331 Windows Media Player
5 87 Games & Strategy Guides
87 3649 Internet Games
87 3427 Programming
87 3429 Strategy Guides
3429 3430 Age of Empires
3429 3431 Command & Conquer
3429 15383021 Dark Age of Camelot
3429 3432 Dark Reign
3429 15383161 Diablo
3429 3433 Doom
3429 15383121 Dragon Ball Z
3429 3434 Final Fantasy
3429 3435 General (Strategy Guides)
3429 15383011 .hack
3429 15383001 Half-Life
3429 15383081 Kingdom Hearts
3429 15383071 The Legend of Zelda
3429 15383051 The Lord of the Rings
3429 3437 MS Flight Simulator
3429 3438 Mechwarrior
3429 15383151 Medal of Honor
3429 15383111 Mega Man
3429 3439 Myst & Riven
3429 15383041 Onimusha
3429 15382981 Prince of Persia
3429 3440 Quake
3429 15383061 Resident Evil
3429 15383031 Silent Hill
3429 3441 Sim City
3429 15383131 The Sims
3429 15383141 Spider-Man
3429 3442 Star Wars
3429 15383171 Starcraft
3429 15383101 Tekken
3429 3443 Tomb Raider
3429 15383181 Total Annihilation
3429 3444 Ultima Online
3429 15383191 Unreal
3429 15382991 Warcraft
3429 3445 Warlords
3429 15383201 Wing Commander
3429 15383091 X-Men
3429 3446 Yoshi's Story
87 1099188 Video Games
5 4134 Graphic Design
4134 4135 3D Graphics
4134 4136 3D Studio Max
4134 4137 Adobe
4137 4138 Acrobat
4137 4139 After Effects, Dimensions & Persuasion
4137 295225 GoLive
4137 4140 Illustrator
4140 502110 Casual Users
4140 502114 Intermediate
4140 502106 Advanced
4140 502108 General (Illustrator)
4140 502112 Featured Titles
4137 295226 ImageStyler
4137 295224 InDesign
4137 4141 PageMill
4137 4142 PhotoDeluxe & Photoshop
4137 4143 PostScript
4137 4144 Premiere
4134 549650 Applications
549650 4146 CorelDRAW!
549650 4149 Freehand
549650 4154 Image Composer
549650 4151 Kai's Power Tools
549650 4152 Lotus Freelance Graphics
549650 4155 Paint Shop Pro
549650 4157 QuarkXPress
549650 295227 The Gimp
549650 4160 Visio
4134 4075 CAD
4075 4080 AutoCAD
4075 4076 AutoCAD 12
4075 4077 AutoCAD 13
4075 4078 AutoCAD 14
4075 4079 AutoCAD LT
4075 4081 CAD & CAM
4075 172405 ProEngineer
4134 4094 Desktop Publishing
4094 4095 Adobe Framemaker
4094 4096 Adobe Pagemaker
4094 4097 Electronic Documents
4094 171130 General (Desktop Publishing)
4094 4098 Macintosh
4094 4099 Microsoft Publisher
4094 4100 Ventura Publisher
4134 4147 Digital Photography
4134 301149 General (Graphic Design)
4134 4033 Interface Design
4134 4156 Printing
4134 4158 SGML
4134 4159 Scanning
4134 4181 Web & Multimedia
4181 4183 Authorware
4181 4187 Director, Lingo & Shockwave
4181 172400 Dreamweaver
172400 502200 Casual Users
172400 502204 Intermediate
172400 502196 Advanced
172400 502198 General (Dreamweaver)
172400 502202 Featured Titles
4181 4184 Electronic Publishing
4181 295228 Fireworks
4181 295229 Flash
295229 502150 Casual Users
295229 502154 Intermediate
295229 502146 Advanced
295229 502148 General (Flash)
295229 502152 Featured Titles
4181 295230 HomeSite
4181 4185 LaTeX
4181 3534 Microsoft FrontPage
3534 502184 Intermediate
3534 502176 Advanced
3534 502178 General (FrontPage)
3534 502182 Featured Titles
4181 4188 Virtual Reality
4181 3549 Web Browsers
3549 3550 General (Web Browsers)
5 549652 Hardware
549652 720028 General (Hardware)
549652 3833 Handhelds
3833 506956 General (Handhelds)
549652 3829 Mainframes
549652 3830 Maintenance, Repair & Upgrading
549652 3723 Microprocessors & System Design
3723 3814 Analog Electronics
3723 3726 Computer Design
3723 3727 Control Systems
3723 3728 DSPs
3723 3817 Digital Design
3723 3730 Embedded Systems
3723 3731 General (Microprocessors & System Design)
3723 3732 Intel
3723 3733 Microprocessor Design
3723 3735 Microprocessors - Motorola
3723 3864 PCI Architecture
3723 3738 PIC Microcontroller
3723 3823 Parallel Computing
549652 3832 PC Buyers' Guides
549652 69774 PCs
549652 541652 Peripherals
549652 3813 System Architecture
3813 3746 Network Security
5 285844 Microsoft
285844 285846 Applications
285846 4125 BackOffice
285846 4173 Money
285846 4127 Office
285846 173199 Office 2000
173199 173218 Access 2000
173218 173222 Development & Administration
173218 173220 For Beginners
173218 173219 General (Access 2000)
173218 173221 Reference Guides
173199 173205 FrontPage 2000
173205 173207 For Beginners
173205 173206 General (FrontPage 2000)
173205 173208 Reference & Development
173199 173200 Office 2000
173200 502416 Advanced
173200 502418 Casual Users
173200 173204 Development & Administration
173200 502420 Featured Titles
173200 173202 For Beginners
173200 173201 General (Office 2000)
173200 502422 Intermediate
173200 173203 Reference Guides
173199 173228 Outlook 2000
173228 173230 For Beginners
173228 173229 General (Outlook 2000)
173228 173231 Reference & Development
173199 173223 PowerPoint 2000
173223 173225 For Beginners
173223 173224 General (PowerPoint 2000)
173223 173226 Reference & Development
173199 173227 Publisher 2000
173227 173400 For Beginners
173227 173401 General (Publisher 2000)
173199 173209 Word 2000
173209 173211 For Beginners
173209 173210 General (Word 2000)
173209 173212 Reference & Development
285846 746142 Office XP
285844 285845 Certifications
285844 285848 Development
285848 764452 .NET
285848 3967 C & C++ Windows Programming
285848 4166 Exchange
285848 3851 Foundation Classes
285848 3607 InterDev
285848 3595 Internet Information Server
285848 4047 VBA
285848 4048 VBScript
285848 3995 Visual Basic
285848 3629 Visual J++
285848 3868 Win32 API
285844 285847 Operating Systems
285847 3850 MS DOS
285847 3852 Registry
285847 4130 Windows - General
285847 285849 Windows 2000
285849 285853 Active Directory
285849 285850 Professional
285849 285852 Programming
285849 285851 Server
285847 4131 Windows 95
285847 3764 Windows 98
3764 3765 Basics
3764 3766 Power User
3764 3767 Programming
3764 3768 Quick Guides
3764 3769 Reference
285847 502348 Windows ME
285847 3770 Windows NT
285847 3771 Windows NT Server
285847 3772 Windows NT Workstation
285847 697344 Windows XP
5 3652 Networking
3652 3666 Data in the Enterprise
3666 69762 Accounting
3666 3668 Client-Server Systems
3666 3669 Cross-platform Development
3666 3674 Electronic Data Interchange (EDI)
3666 3811 ISO 9000
3666 3711 Intranets
3666 4168 Remote Access
3652 3705 Internet, Groupware, & Telecommunications
3705 3707 Cellular Communications
3705 3710 Internet Publishing
3705 3618 Linux Web
3705 3592 Web Servers
3592 295222 Apache
3592 3594 General (Web Servers)
3592 3597 Netscape
3592 3598 Unix
3705 3721 Webmaster
3705 3722 Wireless Communications
3652 3740 Networks, Protocols & API's
3740 3741 Bridges & Routers
3740 3742 COM & DCOM
3740 3743 CORBA
3740 495380 General (Networks, Protocols & API's)
3740 3744 ISDN
3740 3745 LAN
3740 69960 LDAP
3740 3747 Networks
3740 3856 Novell Netware
3740 3749 ODBC
3740 3858 OLE
3740 3861 OpenDOC
3740 3935 OpenGL
3740 170900 SNMP
3740 3624 TCP-IP
3624 3625 General (TCP-IP)
3624 3626 Network Architectures
3740 3941 Unicode
3652 3810 Standards
3810 3812 Posix
5 3756 Operating Systems
3756 3818 File Systems
3756 720026 General (Operating Systems)
3756 3849 Linux
3849 291378 Applications
3849 291372 Distributions
291372 291373 Caldera Openlinux
291372 291374 Debian
291372 291375 Red Hat
291372 291376 Slackware
291372 291377 SuSE
3849 291371 General (Linux)
3849 291379 Kernel & Peripherals
3849 291380 Networking & System Administration
3849 291381 Programming
3849 291382 Servers
3756 3859 OS-2
3756 3860 OS-2 Warp
3756 3776 Rhapsody
3756 3863 Theory
3756 3778 Unix
3778 3779 AIX
3778 3780 Administration
3778 3781 BSD
3778 3782 DNS & Bind
3778 3783 General (Unix)
3778 3853 NeXTStep
3778 3866 Programming
3778 3787 Shell
3778 3788 Solaris
5 3839 Programming
3839 3840 APIs & Operating Environments
3840 3602 ActiveX
3840 170901 COM, DCOM & ATL
3840 3845 Device Drivers
3840 285842 EPOC-Symbian
3840 285843 JINI
3840 3855 Novell GroupWise
3840 285840 Palm OS
3839 285857 Extensible Languages
285857 285859 XHTML
285857 4052 XML
285857 285858 XSL
3839 15375251 Game Programming
3839 171114 General (Programming)
3839 3916 Graphics & Multimedia
3916 3920 Animation
3916 3960 C & C++ Graphics
3916 3922 Direct3D & DirectX
3916 3926 GIS
3916 3927 General (Graphics & Multimedia)
3916 4030 HTML
3916 4031 HTML 4
3916 4029 HTML Dynamic
3916 3933 Mathematica
3916 3939 Solid Works
3916 3940 Sound
3916 4049 VRML
3839 3944 Introductory & Beginning
3944 3966 C & C++ Tutorials
3944 3946 Computer Dictionaries
3944 3948 For Dummies - Programming
3944 3949 General (Introductory & Beginning)
3944 3612 Java
3944 3996 Visual Basic
3839 3608 Java
3608 173560 AFC & WFC
3608 3609 AWT
3608 3614 Distributed
3608 3610 General (Java)
3608 3615 JBuilder
3608 3611 JFC & Swing
3608 3613 JavaBeans
3608 916918 JavaOne
3608 3616 Reference
3608 173561 Servlets
3608 173562 Visual Cafe
3839 3952 Languages & Tools
3952 3953 Ada
3952 3955 Borland Delphi
3952 3956 C & C++
3956 3958 Borland C++
3956 3959 General (C & C++)
3956 3961 Language
3956 3962 Microsoft Visual C++
3956 3963 Objects
3956 3964 Programming
3956 3965 Templates
3952 697342 C#
3952 4025 CGI Programming
3952 3969 Cobol
3952 3970 Compiler Design
3952 3971 Compilers
3952 3974 Debugging
3952 285855 Delphi
3952 3975 Dylan Programming
3952 3976 Eiffel
3952 3977 Fortran
3977 3978 77
3977 3979 90
3977 3980 General (Fortran)
3952 16233481 General (Languages & Tools)
3952 3984 Pascal
3952 3985 Pascal - Turbo
3952 4045 Perl
3952 3987 Prolog
3952 285856 Python
3952 3988 QBasic
3952 3990 RPG
3952 3991 Smalltalk
3952 3992 TCL
3839 3627 TCP-IP
3839 4021 Web Programming
4021 3601 Active Server Pages
4021 4026 Cybercopyrights
4021 4028 Frontier
4021 266093 General (Web Programming)
4021 3617 JavaScript
5 4053 Software
4053 4054 Business
4054 69760 Accounting
4054 172402 General (Business)
4054 4171 Intuit Quicken
4171 502030 Casual Users
4171 502032 Intermediate
4171 502034 Advanced
4171 502028 General (Intuit Quicken)
4171 502036 Featured Titles
4054 4174 Online Banking & Finance
4054 4170 Personal Finance
4054 4069 Speech Processing
4054 4072 Utilities
4054 4073 WinFax
4053 4161 Groupware & Communications
4161 3584 BBS Software
4161 3545 Chat
4053 549660 Introductory Guides
549660 4120 Complete Idiot's Guide: Applications
549660 4121 Complete Idiot's Guide: General
549660 4122 For Dummies: Applications
549660 4123 For Dummies: General
4053 4169 Personal Finance
4169 68261 Intuit TurboTax
68261 502040 Casual Users
68261 502046 Intermediate
68261 502042 Advanced
68261 502038 General (Intuit TurboTax)
68261 502044 Featured Titles
4169 4172 Investing
4053 4175 Spreadsheets
4175 173214 Excel 2000
4175 4176 Lotus 1-2-3
4175 4177 Lotus Ami Pro
4177 502004 Casual Users
4177 502002 Intermediate
4177 502000 Advanced
4177 501998 General (Lotus Ami Pro)
4177 502006 Featured Titles
4175 4178 Lotus SmartSuite
4053 300354 Voice Recognition
4053 4189 Word Processors & Editors
4189 506932 AppleWorks
4189 4190 Emacs
4189 4193 Microsoft Word 97
4189 4194 VI
4189 4195 WordPerfect
5 3510 Web Development
3510 3525 HTML, Graphics, & Design
3525 3527 Adobe Photoshop
3525 3539 Web Graphics
3525 3564 Web Multimedia
3525 3565 Web Site Design
3525 3542 Webmaster
3510 3544 Internet Applications
3544 170140 America Online
3544 3546 Email
3510 3554 Internet Commerce
3554 3558 General (Internet Commerce)
3510 3583 Platforms & Administration
3510 3600 Scripting & Programming
3600 3605 Cold Fusion
3600 411314 General (Scripting & Programming)
3600 554538 Java Server Pages
3600 295223 PHP
3510 3630 Security & Encryption
3630 3636 Viruses
5 565690 Authors, A-Z
565690 565708 Anonymous
565690 565734 Appleman, Dan
565690 565716 Booch, Grady
565690 565744 Box, Don
565690 565710 Castro, Elizabeth
565690 565698 Curtis, Hillman
565690 565732 Eckel, Bruce
565690 565730 Flanagan, David
565690 565702 Gamma, Erich
565690 565748 Garfinkel, Simson
565690 565728 Goldfarb, Charles
565690 565714 Gookin, Dan
565690 565726 Hall, Marty
565690 565738 Homer, Alex
565690 565742 Jacobson, Ivar
565690 565724 Lammle, Todd
565690 565736 Lemay, Laura
565690 565746 Liberty, Jesse
565690 565720 Lippman, Stanley B.
565690 565740 McClelland, Deke
565690 565694 Minasi, Mark
565690 565700 Nielsen, Jakob
565690 565750 Petzold, Charles
565690 565696 Pogue, David
565690 565706 Raymond, Eric S.
565690 565718 Stroustrup, Bjarne
565690 565722 The Deitels
565690 565704 Weinman, Lynda
565690 565692 Williams, Robin
5 554894 By Publisher
554894 516204 APress
554894 284749 Adobe Press
554894 299940 Cisco Press
554894 1191228 Microsoft Press Technical Solutions Center
1191228 1191262 IT Developers
1191262 1191266 Certification
1191266 1191268 MCAD
1191266 1191270 MCSD
1191262 1191272 Enterprise Servers
1191272 1191274 Exchange
1191272 1191278 IIS
1191272 1191276 SQL
1191262 1191264 Security
1191228 1191230 IT Professionals
1191230 1191244 Certification
1191244 1191250 MCSA Core
1191244 1191252 MCSA Elective
1191244 1191246 MCSE Core
1191244 1191248 MCSE Elective
1191230 1191254 Enterprise Servers
1191254 1191256 Exchange
1191254 1191260 IIS
1191254 1191258 SQL
1191230 1191232 Security
1191230 1191234 Windows
1191234 1194788 2000
1191234 1191240 9.x
1191234 1191242 NT
1191234 1191236 Windows Server 2003
1191234 1191238 XP
1191228 1193838 MCAD Credential
1191228 1193836 MCAD vs. MCSD
1191228 1193840 MCSA Credential
1191228 1193844 MCSA vs. MCSE
1191228 1193842 MCSD for .NET Credential
1191228 1193846 MCSE Credential
1191228 1193848 Want to Be a Developer?
554894 403618 Morgan Kaufmann
554894 299942 New Riders
554894 69860 O'Reilly
69860 69889 Internet Security
69860 1196050 Macintosh
69860 69888 Network Administration
69860 69874 Programming
69874 69877 C & C++
69874 69882 General (Programming)
69874 69876 Java
69874 69883 Oracle & Database Programming
69874 69875 Perl
69874 69879 Scripting Languages
69874 69881 Visual Basic
69874 69878 Web Programming
69874 69880 Windows
69860 69861 Series
69861 69864 Annoyances
69861 69862 Nutshell
69861 69863 Pocket
69860 69869 Unix & Linux
69869 69870 General (Unix & Linux)
69869 69871 Linux
69869 69872 Text Processing
69869 69873 Unix System Administration
69860 69890 Using the Internet
69860 69884 Web Development
69884 69885 Web Administration
69884 69886 Web Authoring & Design
69860 69865 Windows
69865 69866 General (Windows)
69865 69868 MCSE
69865 69867 Windows NT
69860 69887 X Windows & Motif
554894 284751 Oracle Press
554894 284755 Osborne McGraw-Hill
554894 764450 Peachpit Press
554894 284750 Que & Sams Computer Books
554894 284752 Sybex
554894 538640 Wiley Data Warehousing
5 657762 General (Computers & Internet)
'''

nodes = {}
def createConcept(target, id, title):
    nodes[target].invokeFactory('Concept', id=id, title=title)
    nodes[id] = nodes[target][id]
    
context.invokeFactory('Concept', id='5', title='Computers & Internet')
raiz = nodes['5'] = context['5']
for lin in NODE_LIST.split('\n'):
    if not lin.strip(): continue
    parent, child, title = lin.split(' ',2)
    createConcept(parent, child, title)


msg = "portal_status_message=Sample created."
return context.REQUEST.RESPONSE.redirect(
    '%s?%s' % (raiz.absolute_url(), msg))
